package com.ddm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.Payment;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PaymentMapper extends BaseMapper<Payment> {
        /**
         * 新增支付记录
         * @param payment 支付实体对象
         * @return 受影响的行数
         */
        int insertPayment(Payment payment);
    }

